package com.zh.zcy.enums;

/**
 * 枚举类
 */
public enum ExceptionEnum {

    SUCCESS("200","请求成功!"),
    ERROR("500","服务器内部错误!");

    private final String code;
    private final String desc;

    ExceptionEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
